'''
Created on 14.10.2011

@author: hkh
'''

from CashFlowUtils.IceBonds import *
from Calendar.Iceland import *
from datetime import date
from datetime import timedelta

ddate = date(2011,11,11)

yld = 0.1
sec1 = RIKB221026()
print sec1.dirtyprice(ddate, yld)

yld = -0.015
sec1 = HFF150914()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150224()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150434()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150644()
print sec1.dirtyprice(ddate, yld)
print '-------------------'

yld = 0.02
sec1 = HFF150914()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150224()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150434()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150644()
print sec1.dirtyprice(ddate, yld)
print '-------------------'

yld = 0.03
sec1 = HFF150914()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150224()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150434()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150644()
print sec1.dirtyprice(ddate, yld)
print '-------------------'

yld = 0.04
sec1 = HFF150914()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150224()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150434()
print sec1.dirtyprice(ddate, yld)
sec1 = HFF150644()
print sec1.dirtyprice(ddate, yld)
print '-------------------'

yld = -0.015
sec1 = RIKS210414()
print sec1.dirtyprice(ddate, yld)
yld = 0.02
sec1 = RIKS210414()
print sec1.dirtyprice(ddate, yld)
yld = 0.03
sec1 = RIKS210414()
print sec1.dirtyprice(ddate, yld)
yld = 0.04
sec1 = RIKS210414()
print sec1.dirtyprice(ddate, yld)
